﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class sessionmanage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["USERNAME"] != null)
        {
            label1.Text += "username: " + Session["USERNAME"].ToString();
        }
        else
        {
            label1.Text += "username: null";
        }
        if (Session["ENTERID"] != null)
        {
            label1.Text += "<br/>enterid: " + Session["ENTERID"].ToString();
        }
        else
        {
            label1.Text += "<br/>enterid: null";
        }
        if (Session["IDENTITY"] != null)
        {
            label1.Text += "<br/>useridentity: " + Session["IDENTITY"].ToString();
        }
        else
        {
            label1.Text += "<br/>useridentity: null";
        }
        if (Session["EMPLOYEENAME"] != null)
        {
            label1.Text+="<br/>employeename: " + Session["EMPLOYEENAME"].ToString();
        }
        else
        {
            label1.Text += "<br/>employeename: null";
        }
        
    }
}